package edu.itcs6112.za.web.form;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import org.joda.time.DateTime;

import edu.itcs6112.za.domain.Address;
import edu.itcs6112.za.domain.OrderStatus;
import edu.itcs6112.za.domain.ShippingType;

public class CustomerOrderModel {
	
	
	private Long customerId;
	private String firstName;
	private String lastName;
	
	private Long orderId;
	private Address orderAddress;
	private String invoiceNumber;
	
	private DateTime orderDate;
	private DateTime shipDate;
	private BigDecimal total;
	private String trackingNumber;
	private List<OrderItemModel> orderItems;
	private OrderStatus status;
	private ShippingType shippingMethod;
	
	public String getFirstName(){
		return firstName;
	}
	
	public void setFirstName(String firstName){
		this.firstName = firstName;
	}
	
	public String getLastName(){
		return lastName;
	}
	
	public void setLastName(String lastName){
		this.lastName = lastName;
	}
	
	public OrderStatus getStatus() {
		return status;
	}

	public void setStatus(OrderStatus status) {
		this.status = status;
	}

	public ShippingType getShippingMethod() {
		return shippingMethod;
	}

	public void setShippingMethod(ShippingType shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	public CustomerOrderModel(){
		orderItems = new ArrayList<OrderItemModel>();
	}
	
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Address getOrderAddress() {
		return orderAddress;
	}
	public void setOrderAddress(Address orderAddress) {
		this.orderAddress = orderAddress;
	}
	public String getInvoiceNumber() {
		return invoiceNumber;
	}
	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}
	public Long getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}
	public DateTime getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(DateTime orderDate) {
		this.orderDate = orderDate;
	}
	public DateTime getShipDate() {
		return shipDate;
	}
	public void setShipDate(DateTime shipDate) {
		this.shipDate = shipDate;
	}
	public BigDecimal getTotal() {
		return total;
	}
	public void setTotal(BigDecimal total) {
		this.total = total;
	}
	public String getTrackingNumber() {
		return trackingNumber;
	}
	public void setTrackingNumber(String trackingNumber) {
		this.trackingNumber = trackingNumber;
	}
	public List<OrderItemModel> getOrderItems() {
		return orderItems;
	}
	public void setOrderItems(List<OrderItemModel> orderItems) {
		this.orderItems = orderItems;
	}
	
	
	
}
